package org.grow.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xwg
 * @CreateDate: 2023/9/21
 */

@Data
@ConfigurationProperties(prefix = "financial.common")
public class CommonProperties {
    /**
     * token expiration time
     * */
    private Integer expireMinutes = 30;
    /**
     * token secret , not suggest modify
    * */
    private String secret = "abcdefghijklmnopqrstuvwxyz0123456789";
    private String test= "abc";
    /**
     *  no auth can access resources
     * */
    private List<String> noAuthResources = new ArrayList<String>();
}
